<include file="public@header"/>
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a href="{:url('Version/index')}">版本更新</a></li>
    </ul>
    <form method="post" class="js-ajax-form margin-top-20" action="{:url('Version/sort')}"> 
        <table class="table table-hover table-bordered table-list">
            <thead>
            <tr>
                <th width="16"><label><input type="checkbox" class="js-check-all" data-direction="x"
                                             data-checklist="js-check-x"></label></th>
                <th>最新版本号</th>
				<th>新版本大小</th>
                <th>安装文件地址</th>
                <th>最低可用本号</th>
                <th>非强制更新提示次数</th>
         
                <th>修改时间</th>
                <th>{:lang('ACTIONS')}</th>
            </tr>
            </thead>
            <tbody>
            <foreach name="data" item="vo">
                <tr>
                    <td><input type="checkbox" class="js-check" data-yid="js-check-y" data-xid="js-check-x" name="ids[]"
                               value="{$vo.version_id}"></td>
					<td>{$vo.number}</td>
                    <td>{$vo.size}</td>
                    <td>{$vo.url}</td>
                    <td>{$vo.base_number}</td>
                    <td>{$vo.time}</td>
                 
                    <td>{$vo.create_time}</td>
                    <td>
                        <a href="javascript:edit({$vo.version_id})">浏览</a>
                    </td>
                </tr>
            </foreach>
            </tbody>
            <tfoot>
            <tr>
                <th width="16"><label><input type="checkbox" class="js-check-all" data-direction="x"
                                             data-checklist="js-check-x"></label></th>
                 <th>最新版本号</th>
                <th>新版本大小</th>
                <th>安装文件地址</th>
                <th>最低可用本号</th>
                <th>非强制更新提示次数</th>
         
                <th>修改时间</th>
                <th>{:lang('ACTIONS')}</th>
            </tr>
            </tfoot>
        </table>
        
    </form>
</div>
<script src="__STATIC__/js/admin.js"></script>
<script type="text/javascript">
    function edit(id){
        //打开新增窗口
        openIframeLayer("/admin/version/edit/version_id/"+id, '浏览', {
            area: ['80%', '80%'],
        });
    }
</script>
</body>
</html>